* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

div {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.clear{
    clear: both;
}

body {
    width: 100%;
    height: 1000px;
    min-width: 320px;
    max-width: 818px;
    margin: 0 auto;
    font-size: 14px;
    color: #666666;
    background-color: #f6f6f6;
}

/* head */

.head {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 320px;
    max-width: 818px;
    height: 44px;
    background-color: #c9261a;
    z-index: 999;
}

.menu {
    position: relative;
    width: 40px;
}

.menu::after {
    position: absolute;
    top: 15px;
    right: 5px;
    display: block;
    width: 20px;
    height: 18px;
    content: "";
    /*background: url(../images/menu.png) no-repeat;*/
    background-image: url('https://wuweipingx.gitee.io/m.jd/images/jd.png') ;
    background-repeat: no-repeat;
    background-size: 20px;
}

.login {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    color: #ffffff;
    line-height: 44px;
}

.search {
    position: relative;
    height: 30px;
    background-color: #fff;
    margin: 0 50px;
    margin-top: 6px;
    border-radius: 15px;
    line-height: 30px;
    padding-left: 80px;
}

.search::before {
    position: absolute;
    top: 7px;
    left: 15px;
    display: block;
    width: 20px;
    height: 18px;
    content: "";
    background: url('https://wuweipingx.gitee.io/m.jd/images/jd.png') no-repeat;
    background-size: 20px;
}

.search::after {
    position: absolute;
    top: 6px;
    left: 42px;
    display: block;
    content: "";
    height: 18px;
    width: 1px;
    background-color: #dddddd;
}

.search i {
    position: absolute;
    left: 50px;
    top: 8px;
    display: block;
    width: 18px;
    height: 15px;
    background: url('https://wuweipingx.gitee.io/m.jd/images/jd-sprites.png') no-repeat -82px 0;
    background-size: 200px;
}

.banner {
    width: 100%;
    margin-top: 50px;
    padding: 10px;
}

.banner a {
    display: block;
    width: 100%;
}

.banner a img {
    width: 100%;
    border-radius: 10px;
}

nav ul li {
    float: left;
    width: 20%;
    text-align: center;
}

nav ul li img {
    margin-top: 10px;
    margin-bottom: 5px;
    width: 45%;
}

nav ul li a p {
    font-size: 14px;
    color: #666666;
}

.recom {
    width: 100%;
    padding: 10px;
}


.recom ul li {
    float: left;
    width: 25%;
    background-color: #ffffff;
}

.recom ul li a{
    display: block;
    width: 100%;
    color: #333;
    padding-top: 10px; 
    padding-left: 10px; 
}

.recom ul li a h3{
    line-height: 22px;
    height: 24px;
    font-weight: 800;
    /* font-size: 22px; */
    /* padding-left: 15px; */
}
.recom ul li a p{
    margin-bottom: 5px;
    /* padding-left: 15px; */
}

.recom ul li img{
    width: 70%;
}

.floor{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
}

.floor ul li{
    float: left;
    width: 20%;
    text-align: center;
    background-color: #ffffff;

}
.floor ul li img{
    width: 80%;
}